package com.lilosoft.business.cga.dao;

import com.lilosoft.business.cga.models.CgaCaseRelatedPerson;
import com.lilosoft.business.cga.models.CgaCaseRelatedPersonExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CgaCaseRelatedPersonMapper {
    long countByExample(CgaCaseRelatedPersonExample example);

    int deleteByExample(CgaCaseRelatedPersonExample example);

    int deleteByPrimaryKey(String id);

    int insert(CgaCaseRelatedPerson record);

    int insertSelective(CgaCaseRelatedPerson record);

    List<CgaCaseRelatedPerson> selectByExample(CgaCaseRelatedPersonExample example);

    CgaCaseRelatedPerson selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CgaCaseRelatedPerson record, @Param("example") CgaCaseRelatedPersonExample example);

    int updateByExample(@Param("record") CgaCaseRelatedPerson record, @Param("example") CgaCaseRelatedPersonExample example);

    int updateByPrimaryKeySelective(CgaCaseRelatedPerson record);

    int updateByPrimaryKey(CgaCaseRelatedPerson record);
}